package com.huterox.todoscheduler.core.wapper;

import java.io.Serializable;

/**
 * 初步初始化的对象，以及对应的Class
 * */
public class BeanWrapper implements Serializable {

    private Object wrapperInstance;
    private Class<?> wrapperClass;
    public BeanWrapper(Object instance) {
        this.wrapperInstance = instance;
        this.wrapperClass = this.wrapperInstance.getClass();
    }

    public Object getWrapperInstance() {
        return wrapperInstance;
    }

    public Class<?> getWrapperClass() {
        return wrapperClass;
    }
}
